import request from '@/utils/request'
export const getArticleList = (params) => {
  return request.get('/admin/interview/query', params)
}
// 新增面经
export const submitmianjing = (obj) => {
  return request.post('/admin/interview/create', obj)
}
// 删除功能
export const delmianjing = (id) => {
  return request.delete('/admin/interview/remove', {
    data: {
      id
    }
  })
}

// 获取单个
export const dangemianjing = (id) => {
  return request.get('/admin/interview/show', {
    params: {
      id
    }
  })
}
// 修改面经
export const xiugaimianjing = (data) => {
  return request.put('/admin/interview/update', data)
}
